<style>
    .ciw{width: 250px}
</style>
<div class="grid-wrap">
    <table data-id="grid"></table>
</div>
<div data-id="nsdb" style="padding: 5px; height: auto">
    <shiro:hasPermission name="attendance:selfData:add">
        <a data-href="${pageContext.request.contextPath}/app/api/attendance/approval" data-key="pass" iconCls="fa fa-check fa-lg" plain="true">审批通过</a>
    </shiro:hasPermission>
    <shiro:hasPermission name="attendance:selfData:del">
        <a data-href="${pageContext.request.contextPath}/app/api/attendance/approval" data-key="refuse" iconCls="fa fa-remove fa-lg" plain="true">审批拒绝</a>
    </shiro:hasPermission>
    <a data-href="${pageContext.request.contextPath}/app/api/attendance/toSearch" data-key="search" iconCls="fa fa-search fa-lg" plain="true">搜索</a>
    <a data-href="#" data-key="search_all" iconCls="fa fa-refresh fa-lg" plain="true">搜索全部</a>
    <a data-href="${pageContext.request.contextPath}/app/api/attendance/exportAppro" data-key="exportAppro" iconCls="fa fa-file-excel-o fa-lg" plain="true">考勤记录导出</a>
</div>
<div data-id="attendance_tempate">
    <a data-href="${pageContext.request.contextPath}/app/api/attendance/toView" data-id="{{id}}" data-key="view" iconCls="fa fa-eye fa-lg" plain="true">查看详情</a>
</div>